#include "core/main.h"

RandomGameAgent::RandomGameAgent(Game *game, const vector<ControllerState>& actions)
    : GameAgent(game), _actions(actions) {}

void RandomGameAgent::takeStep()
{   
    int ri = rand() % _actions.size();

    // Take the next action (that we have already picked)
    _game->Step(_actions[ri]);
}
